package com.zcf.service;

import com.zcf.common.json.Body;
import com.zcf.pojo.User;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
public interface UserService extends IService<User> {
	
	public Body register(String phone, String password, String code);
	
	public Body login(String phone, String password);
	
	public Body forgetPassword(String phone, String newPassword, String code);
	
	public Body changePhone(String phone,String newPhone,String code);
	
	public Body changePassword(String userId,String phone, String password, String newPassword);

	
	Body login(String oppid, String nick_name, String head_img);
}
